import request from '@/utils/request'

// 查询履约修改记录列表
export function listGuaranteeLog(query) {
  return request({
    url: '/guarantee/guaranteeLog/list',
    method: 'get',
    params: query
  })
}

// 查询履约修改记录详细
export function getGuaranteeLog(id) {
  return request({
    url: '/guarantee/guaranteeLog/' + id,
    method: 'get'
  })
}

// 新增履约修改记录
export function addGuaranteeLog(data) {
  return request({
    url: '/guarantee/guaranteeLog',
    method: 'post',
    data: data
  })
}

// 修改履约修改记录
export function updateGuaranteeLog(data) {
  return request({
    url: '/guarantee/guaranteeLog',
    method: 'put',
    data: data
  })
}

// 删除履约修改记录
export function delGuaranteeLog(id) {
  return request({
    url: '/guarantee/guaranteeLog/' + id,
    method: 'delete'
  })
}
